<?php defined('SYSPATH') OR die('No direct access allowed.');?>
<h2>
<?=html::anchor(Router::uri('admin', array('controller'=>'forum', 'method'=>'category')), Kohana::lang('forum.category_list'));?>
<? foreach($breadcrumb as $cat):?>
<?=Kohana::config('forum.bc_separator').html::anchor(Router::uri('admin', array('controller'=>'forum', 'method'=>'category',))."?parent=".$cat->id, $cat->title);?>
<? endforeach;?>
<? if ($parent) echo Kohana::config('forum.bc_separator').$parent->title?>
</h2>
<?message::render()?>
<ul class="cats list">
	<li class="header"><p class="title"><?=Kohana::lang('forum.subcategory_list')?></p></li>
	<?=View::factory('forum/admin/blocks/categories')->set('categories', $categories)?>
</ul>
<?=View::factory('forum/admin/blocks/category_redactor')->set('parent', $parent)?>